package com.qfedu.aunt.commons.pojo;

import com.baomidou.mybatisplus.annotation.*;

import java.util.Date;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 阿姨收藏表
 * </p>
 *
 * @author xiaobobo
 * @since 2022-10-26
 */
@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@TableName("t_collection")
@ApiModel(value="Collection对象", description="阿姨收藏表")
public class Collection1 implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "收藏ID")
    @TableId(value = "collection_id", type = IdType.ID_WORKER_STR)
    private String collectionId;

    @ApiModelProperty(value = "订单ID")
    private String orderId;

    @ApiModelProperty(value = "阿姨ID")
    private String auntId;

    @ApiModelProperty(value = "收藏时间")
    private Date collectionCollectionTime;

    @ApiModelProperty(value = "创建时间")
    @TableField(fill = FieldFill.INSERT)
    private Date createTime;

    @ApiModelProperty(value = "更新时间")
    @TableField(fill = FieldFill.INSERT_UPDATE)
    private Date updateTime;

    @ApiModelProperty(value = "删除标记")
    @TableLogic
    private Integer deleted;

    @ApiModelProperty(value = "离线乐观锁")
    @Version
    private Integer version;


}
